Re-building "snapcraft" part after failure fails at intltool-update
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
Re-building Snapcraft in a container fails the second time around.
$ export SNAPCRAFT_CONTAINER_BUILDS=1
$ snapcraft
Preparing to build snapcraft
Building snapcraft
[...]
Building wheels for collected packages: snapcraft, python-apt, python-distutils-extra
Running setup.py bdist_wheel for snapcraft ... done
Stored in directory: /tmp/tmp4in0p1di
Running setup.py bdist_wheel for python-apt ... error
[...]
running build_i18n
intltool-update -p -g python-apt
unable to execute 'intltool-update': No such file or directory
error: command 'intltool-update' failed with exit status 1
----------------------------------------
Failed building wheel for python-apt
Running setup.py clean for python-apt
Running setup.py bdist_wheel for python-distutils-extra ... done
Stored in directory: /tmp/tmp4in0p1di
Successfully built snapcraft python-distutils-extra
Failed to build python-apt
ERROR: Failed to build one or more wheels
[...]
subprocess.CalledProcessError: Command '['/bin/sh', '/tmp/tmp9ue9lv4j', '/root/build_snapcraft/stage/usr/bin/python3', '-m', 'pip', 'wheel', '--disable-pip-version-check', '--no-index', '--find-links', '/root/build_snapcraft/parts/snapcraft/packages', '--wheel-dir', '/tmp/tmp4in0p1di', '--requirement', '/root/build_snapcraft/parts/snapcraft/src/requirements.txt', '.']' returned non-zero exit status 1
The "snapcraft" part is using Python and installs python-apt from a tarball via requirements.txt.
Evaluation history
No evaluation history available.